package cn.tjie.org.service;

import cn.tjie.org.domain.Shop;
import cn.tjie.basic.service.IBaseService;
import cn.tjie.org.domain.ShopAuditLog;
import cn.tjie.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tjie
 * @since 2023-02-04
 */
public interface IShopService extends IBaseService<Shop> {

    void settlement(Shop shop);

    void auditPass(ShopAuditLog log) throws MessagingException;

    void auditReject(ShopAuditLog log);

    /**
     * 批量添加
     * @param shops
     */
    void patchAdd(List<Shop> shops);

    void toActive(Long id);


    List<ShopDto> echarts();
}
